<?php
class Timetable extends AppModel {

	var $name = 'Timetable';
	var $validate = array(
		'doctor_id' => array('numeric'),
		'date' => array('date'),
		'timestart' => array('date'),
		'timeend' => array('date'),
		'observation' => array('alphanumeric')
	);

	//The Associations below have been created with all possible keys, those that are not needed can be removed
	var $belongsTo = array(
			'User' => array('className' => 'User',
								'foreignKey' => 'doctor_id',
								'conditions' => '',
								'fields' => '',
								'order' => ''
			)
	);

}
?>